package com.woniuxy.dao;

import com.woniuxy.entity.RbacPerm;

import java.util.List;

/**
 * @author 佘赛飞
 * @create 2021-11-26 12:22 上午
 */
public interface RbacPermDao {
    RbacPerm findOneRbacPerm(int id);
    //查询所有用户
    List <RbacPerm> findAllRbacPerms(int[] roles);
    void addRbacPerm(RbacPerm rbacPerm);
    //更新
    Integer UpdateRbacPerm(RbacPerm rbacPerm);
    //删除
    void deleteRbacPerm(RbacPerm rbacPerm);
    //分页
    List<RbacPerm>FindAllAndPaginationRbacPerm();
}
